/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.designpatterns.behavioral.chainofresponsibility;

/**
 *
 * @author staff
 */
public abstract class PlanetHandler {

    protected PlanetHandler successor = null;

    public void setSuccessor(PlanetHandler successor) {
        this.successor = successor;
    }

    public abstract void handleRequest(PlanetEnum request);
}
